package com.ipc.addtocart.demo;

import java.io.IOException;
import java.util.Map;

import javax.portlet.ActionRequest;
import javax.portlet.ActionResponse;
import javax.portlet.PortletException;
import javax.portlet.RenderRequest;
import javax.portlet.RenderResponse;

import com.liferay.util.bridges.mvc.MVCPortlet;

public class Cart extends MVCPortlet {
	
	/**
	 * IPC (It wont work in processAction), need to get from render only
	 */
	@Override
	public void render(RenderRequest request, RenderResponse response)
			throws PortletException, IOException {
	
		String id2 = request.getParameter("id1");
		System.out.println("id2 = "+id2);
		super.render(request, response);
	}
}
